# coding: utf-8
from django.contrib import admin

from recette.models import Recette, Ingredient, Livre

class RecetteAdmin(admin.ModelAdmin):
    list_display=["titre","livre","page"]
    list_display_links=["titre",]
    list_filter=["livre",]
admin.site.register(Recette, RecetteAdmin)

class LivreAdmin(admin.ModelAdmin):
    list_display=["titre"]
    list_display_links=["titre",]
admin.site.register(Livre, LivreAdmin)

class IngredientAdmin(admin.ModelAdmin):
    list_display=["titre"]
    list_display_links=["titre",]
admin.site.register(Ingredient, IngredientAdmin)
